package com.ruoyi.health.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 资讯分类对象 notice_category
 * 
 * @author dalian
 * @date 2023-08-05
 */
public class NoticeCategory extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 资讯分类id */
    private Long id;

    /** 资讯分类名称 */
    @Excel(name = "资讯分类名称")
    private String cateName;

    /** 资讯分类级别 */
    @Excel(name = "资讯分类级别")
    private Long cateLevel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCateName(String cateName) 
    {
        this.cateName = cateName;
    }

    public String getCateName() 
    {
        return cateName;
    }
    public void setCateLevel(Long cateLevel) 
    {
        this.cateLevel = cateLevel;
    }

    public Long getCateLevel() 
    {
        return cateLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cateName", getCateName())
            .append("cateLevel", getCateLevel())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
